package me.boot.sys.service;

import me.boot.db.mybatis.template.SuperService;
import me.boot.sys.entity.SysResource;
import me.boot.sys.entity.SysRole;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Sylar
 * @since 2021-11-24
 */
public interface SysResourceService extends SuperService<Long, SysResource> {

    List<SysResource> findAllByOrderByUrlDesc();

    List<SysRole> getRoles(Long resourceId);
}
